//
//  UINavigationController+PopVC.m
//  TongGuanLease
//
//  Created by 张奇 on 2022/6/5.
//

#import "UINavigationController+PopVC.h"

@implementation UINavigationController (PopVC)

- (void)myPopViewController:(UIViewController *)vc {

    CATransition* transition = [CATransition animation];
    transition.duration = 0.25f;
    transition.type = kCATransitionMoveIn;
    transition.subtype = kCATransitionFromLeft;
    [self.view.layer addAnimation:transition forKey:kCATransition];
    [self pushViewController:vc animated:NO];
    
}

@end
